home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 345 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: chronicle.mti.sgi.com!austern
  2. From: jcoffin@rmii.com (Jerry Coffin)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Give operator. a chance
  5. Date: 08 Feb 1996 16:18:45 PST
  6. Organization: TAEUS
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4fe3n4$ii4@natasha.rmii.com>
  9. References: <62HLdPo3cDB@faerber.muc.de>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: Fri, 09 Feb 1996 01:27:35 GMT
  12. X-Newsreader: Forte Free Agent 1.0.82
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMRqS80y4NqrwXLNJAQHs8AIArVsShtBvRYlQGvKPyr443qJ6anYr35pa
  15.     QH0eMudiLA7L0Yjfbo3AjOJcd9/ts1NyA6IsOV+mDKjktOOkBTNNSw==
  16.     =fVEx
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. claus@faerber.muc.de (Claus A. Faerber) wrote:
  20.  
  21. >IMO there's a better way than 'operator.()':
  22.  
  23. >Simply say: 'If a class member identifier is not found  
  24. >within an object, all possible cast operators are scanned in  
  25. >order to find a conversion to an object of a class  
  26. >containing a member with this identifier.'
  27.  
  28. Which would be chosen if two or more possibilities would work?
  29. ---
  30. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  31.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  32.   in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
  33.